﻿<%@ Page Language="c#" CodeBehind="CustomerProfile.aspx.cs" AutoEventWireup="false"
    Inherits="CIS.CustomerProfile" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title>CustomerProfile</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <style type="text/css">
        @import url( css/ppt.css );
    </style>
</head>
<body>
    <form id="Form1" method="post" runat="server">
    <table>
        <tr>
            <td>
                <table id="table">
                    <tr>
                        <td>
                            <asp:Label ID="lbCustomerName" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="customerNameTxb" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                                ID="RequiredFieldValidatorName" runat="server" ErrorMessage="客户名为空" Display="Dynamic"
                                ControlToValidate="customerNameTxb"></asp:RequiredFieldValidator>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbGender" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:DropDownList ID="genderDdl" runat="server" Visible="False">
                            </asp:DropDownList>
                            <asp:TextBox ID="genderTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbTitle" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="titleTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbMail" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="EmailTxb" runat="server"></asp:TextBox><asp:RegularExpressionValidator
                                ID="RegularExpressionValidatorEmail" runat="server" ErrorMessage="电子邮件格式错误" Display="Dynamic"
                                ControlToValidate="EmailTxb" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbLevel" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:DropDownList ID="levelDdl" runat="server" Visible="False">
                            </asp:DropDownList>
                            <asp:TextBox ID="levelTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td colspan="3">
                            <asp:Label ID="lbStrLevel1" runat="server"></asp:Label><br />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbStrLevel2" runat="server"></asp:Label><br />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbStrLevel3" runat="server"></asp:Label><br />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbStrLevel4" runat="server"></asp:Label><br />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbStrLevel5" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbCompany" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:DropDownList ID="companyDdl" runat="server" AutoPostBack="True" Visible="False">
                            </asp:DropDownList>
                            <asp:TextBox ID="companyTxb" runat="server"></asp:TextBox><br />
                            <br />
                            <asp:Label ID="lbRegion" runat="server"></asp:Label><asp:DropDownList ID="regionDdl"
                                runat="server" Visible="False">
                            </asp:DropDownList>
                            <asp:TextBox ID="regionTxb" runat="server"></asp:TextBox>&nbsp;<asp:Label ID="lbCat"
                                runat="server"></asp:Label><asp:DropDownList ID="catDdl" runat="server" Visible="False">
                                </asp:DropDownList>
                            <asp:TextBox ID="catTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbMailAdd" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="MailAddTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbDepart" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="departTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbType" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:DropDownList ID="TypeDdl" runat="server" Visible="False">
                            </asp:DropDownList>
                            <asp:TextBox ID="typeTxb" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                        </td>
                        <tr>
                            <td>
                                <asp:Label ID="lbProduct" runat="server"></asp:Label>&nbsp;<a>*</a>
                            </td>
                            <td colspan="2">
                                <asp:ListBox ID="ProductLB" runat="server"></asp:ListBox>
                            </td>
                        </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table id="table2">
                    <tr>
                        <td>
                            <asp:Label ID="lbBirth" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:DropDownList ID="BirthYearDdl" runat="server" Visible="False">
                            </asp:DropDownList>
                            <asp:TextBox ID="birthYearTxb" runat="server"></asp:TextBox><asp:Label ID="lbBYear"
                                runat="server"></asp:Label><asp:DropDownList ID="BirthMonthDdl" runat="server" Visible="False">
                                </asp:DropDownList>
                            <asp:TextBox ID="birthMonthTxb" runat="server"></asp:TextBox><asp:Label ID="lbBMonth"
                                runat="server"></asp:Label><asp:DropDownList ID="BirthDayDdl" runat="server" Visible="False">
                                </asp:DropDownList>
                            <asp:TextBox ID="birthDayTxb" runat="server"></asp:TextBox><asp:Label ID="lbBDate"
                                runat="server"></asp:Label>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbMarriage" runat="server"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="MarriageYearDdl" runat="server" Visible="False">
                            </asp:DropDownList>
                            <asp:TextBox ID="marriageYearTxb" runat="server"></asp:TextBox><asp:Label ID="lbMYear"
                                runat="server"></asp:Label><asp:DropDownList ID="MarriageMonthDdl" runat="server"
                                    Visible="False">
                                </asp:DropDownList>
                            <asp:TextBox ID="marriageMonthTxb" runat="server"></asp:TextBox><asp:Label ID="lbMMonth"
                                runat="server"></asp:Label><asp:DropDownList ID="MarriageDateDdl" runat="server"
                                    Visible="False">
                                </asp:DropDownList>
                            <asp:TextBox ID="marriageDateTxb" runat="server"></asp:TextBox><asp:Label ID="lbMDate"
                                runat="server"></asp:Label>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbBirthPlace" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="BirthPlaceTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbHomeAdd" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="TxbHomeAdd" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbRelocationAdd" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="RelocationAddTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbHomeTel" runat="server"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="TxbHomeTel1" runat="server"></asp:TextBox>-
                            <asp:TextBox ID="TxbHomeTel2" runat="server"></asp:TextBox>-
                            <asp:TextBox ID="TxbHomeTel3" runat="server"></asp:TextBox><asp:RegularExpressionValidator
                                ID="RegularexpressionvalidatorTel1" runat="server" ErrorMessage="必须为数字" Display="Dynamic"
                                ControlToValidate="TxbHomeTel1" ValidationExpression="\d*"></asp:RegularExpressionValidator><asp:RegularExpressionValidator
                                    ID="RegularexpressionvalidatorTel2" runat="server" ErrorMessage="必须为数字" Display="Dynamic"
                                    ControlToValidate="TxbHomeTel2" ValidationExpression="\d*"></asp:RegularExpressionValidator><asp:RegularExpressionValidator
                                        ID="RegularexpressionvalidatorTel3" runat="server" ErrorMessage="必须为数字" Display="Dynamic"
                                        ControlToValidate="TxbHomeTel3" ValidationExpression="\d*"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbMobile" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="MobileTxb" runat="server"></asp:TextBox><asp:RegularExpressionValidator
                                ID="RegularexpressionvalidatorMobile" runat="server" ErrorMessage="必须为数字" Display="Dynamic"
                                ControlToValidate="MobileTxb" ValidationExpression="\d*"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbBloodType" runat="server"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="bloodTypeDdl" runat="server" Visible="False">
                            </asp:DropDownList>
                            <asp:TextBox ID="bloodTypeTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbWeight" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="WeightTxb" runat="server"></asp:TextBox>&nbsp;&nbsp;kg
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbHeight" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="HeightTxb" runat="server"></asp:TextBox>&nbsp;&nbsp;cm
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbSpcHobbiex" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                            <asp:TextBox ID="SpcHobbiexTxb" runat="server" TextMode="MultiLine"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                个人喜好
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptPre" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    &nbsp;
                                    <%#DataBinder.Eval(Container.DataItem,SelectLanguagePreference("PreferenceNameCn"))%>
                                </td>
                                <td>
                                    &nbsp;
                                    <%#DataBinder.Eval(Container.DataItem,SelectLanguagePreference("PreferenceValueNameCn"))%>
                                </td>
                                <td>
                                    &nbsp;
                                    <%#DataBinder.Eval(Container.DataItem,SelectLanguagePreference("PreferenceLevelNameCn"))%>
                                </td>
                                <td>
                                    &nbsp;
                                    <%#DataBinder.Eval(Container.DataItem,"OtherPre")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                健康服饰信息
            </td>
        </tr>
        <tr>
            <td>
                <table id="table6">
                    <tr>
                        <td>
                            <asp:Label ID="lbHealthSituation" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbHealth" runat="server"></asp:Label><asp:DropDownList ID="HealthDdl"
                                runat="server" Visible="False">
                            </asp:DropDownList>
                            <asp:TextBox ID="healthTxb" runat="server"></asp:TextBox><asp:Label ID="lbEyesight"
                                runat="server"></asp:Label><asp:DropDownList ID="EyesightDdl" runat="server" Visible="False">
                                </asp:DropDownList>
                            <asp:TextBox ID="eyesightTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbMajorOperation" runat="server"></asp:Label>&nbsp;<a>*</a></br>
                            <asp:TextBox ID="MajorOperationTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbSpecialDisease" runat="server"></asp:Label>&nbsp;<a>*</a></br>
                            <asp:TextBox ID="SpecialDiseaseTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbAllergy" runat="server"></asp:Label>&nbsp;<a>*</a></br>
                            <asp:TextBox ID="AllergyTxb" runat="server"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbClothingSituation" runat="server"></asp:Label>&nbsp;<a>*</a>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbNeck" runat="server"></asp:Label><asp:TextBox ID="NeckMeasurementTxb"
                                runat="server"></asp:TextBox><asp:Label ID="lbInch1" runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbShoes" runat="server"></asp:Label><asp:TextBox ID="ShoesSizeTxb"
                                runat="server"></asp:TextBox><asp:Label ID="lbInch2" runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lbHip" runat="server"></asp:Label><asp:TextBox ID="HipMeasurementTxb"
                                runat="server"></asp:TextBox><asp:Label ID="lbInch3" runat="server"></asp:Label>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lbBrandPre" runat="server"></asp:Label>&nbsp;<a>*</a></br>
                            <asp:TextBox ID="BrandPreTxb" runat="server"></asp:TextBox>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                差旅住宿信息
            </td>
        </tr>
        <tr>
            <td>
                <table id="table9">
                    <tr>
                        <td>
                            <asp:Label ID="lbTranSportTool" runat="server"></asp:Label><asp:DropDownList ID="TransportToolUsedDdl"
                                runat="server" AutoPostBack="True" Visible="False">
                            </asp:DropDownList>
                            <asp:TextBox ID="transportTollUsedTxb" runat="server"></asp:TextBox>&nbsp;&nbsp;
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <asp:Repeater ID="rptTravel" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixTravel(DecryptStringTravel(DataBinder.Eval(Container.DataItem,"Coupon")),"preCoupon")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixTravel(DecryptStringTravel(DataBinder.Eval(Container.DataItem,"Other")),"preOther")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                学习经历
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptStudy" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixStudy(ValidateDateTimeStudy(DataBinder.Eval(Container.DataItem,"StartDate","{0:yyyy-MM}")),"preFrom")%>
                                    <%#AddStrPrefixStudy(ValidateDateTimeStudy(DataBinder.Eval(Container.DataItem,"EndDate","{0:yyyy-MM}")),"preTo")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixStudy(SetDegreeStrStudy(DecryptStringStudy(DataBinder.Eval(Container.DataItem,"Degree"))),"preDegree")%>
                                    <%#AddStrPrefixStudy(DecryptStringStudy(DataBinder.Eval(Container.DataItem,"Major")),"preMajor")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixStudy(DecryptStringStudy(DataBinder.Eval(Container.DataItem,"GranduateSchool")),"preGranduateSchool")%>
                                    <%#AddStrPrefixStudy(DecryptStringStudy(DataBinder.Eval(Container.DataItem,"Sponsor")),"preSponsor")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                工作信息
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptWork" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixWork(ValidateDateTimeWork(DataBinder.Eval(Container.DataItem,"StartTime","{0:yyyy-MM}")),"preFrom")%>
                                    <%#AddStrPrefixWork(ValidateDateTimeWork(DataBinder.Eval(Container.DataItem,"EndTime","{0:yyyy-MM}")),"preTo")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixWork(DecryptStringWork(DataBinder.Eval(Container.DataItem,"Company")),"preCompany")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixWork(DecryptStringWork(DataBinder.Eval(Container.DataItem,"Title")),"preTitle")%>
                                    <%#AddStrPrefixWork(DecryptStringWork(DataBinder.Eval(Container.DataItem,"WorkingPlace")),"preWorkingPlace")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                家庭信息
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptFamily" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixFamily(DecryptStringFamily(DataBinder.Eval(Container.DataItem,"MemberName")),"preMemberName")%>
                                    <%#AddStrPrefixFamily(DecryptStringFamily(DataBinder.Eval(Container.DataItem,"Relationship")),"preRelation")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixFamily(ValidateDateTimeFamily(DataBinder.Eval(Container.DataItem,"MBirthDate","{0:yyyy-MM-dd}")),"preMBirth")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixFamily(DecryptStringFamily(DataBinder.Eval(Container.DataItem,"MSchoolCompany")),"preMSchoolCompany")%>
                                    &nbsp;<%#AddStrPrefixFamily(DecryptStringFamily(DataBinder.Eval(Container.DataItem,"MPhone")),"preMPhone")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixFamily(DecryptStringFamily(DataBinder.Eval(Container.DataItem,"OtherInfo")),"PreOther")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                与ASB重大合同信息
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptASBContract" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBContract(ValidateDateTimeASBContract(DataBinder.Eval(Container.DataItem,"SingnedDate","{0:yyyy-MM-dd}")),"preSingnedDate")%>
                                    &nbsp;
                                    <%#AddStrPrefixASBContract(ValidateDateTimeASBContract(DataBinder.Eval(Container.DataItem,"EffectDate","{0:yyyy-MM-dd}")),"preEffectDate")%>
                                    &nbsp;
                                    <%#AddStrPrefixASBContract(DecryptUnicodeStringASBContract(DataBinder.Eval(Container.DataItem,"OrionNo")),"preOrionNo")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBContract(DecryptUnicodeStringASBContract(DataBinder.Eval(Container.DataItem,"ContractName")),"preContractName")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBContract(DecryptStringASBContract(DataBinder.Eval(Container.DataItem,"CompanyName")),"preCompanyName")%>
                                    &nbsp;
                                    <%#AddStrPrefixASBContract(DecryptStringASBContract(DataBinder.Eval(Container.DataItem,"ContractValue")),"preContractValue")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                高层会面信息
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptEVMeeting" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixEVMeeting(ValidateDateTime(DataBinder.Eval(Container.DataItem,"EVTime","{0:yyyy-MM-dd}")),"preEVTime")%>
                                    <%#AddStrPrefixEVMeeting(DecryptStringEVMeeting(DataBinder.Eval(Container.DataItem,"EVVenue")),"preEVVenue")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixEVMeeting(DecryptStringEVMeeting(DataBinder.Eval(Container.DataItem,"EVExecutives")),"preEVExecutives")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixEVMeeting(DecryptStringEVMeeting(DataBinder.Eval(Container.DataItem,"EVReasons")),"preEVReasons")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                出国拜访信息
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptVisitingAbroad" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixVisitingAbroad(ValidateDateTime(DataBinder.Eval(Container.DataItem,"ABVTime","{0:yyyy-MM-dd}")),"preABVTime")%>
                                    &nbsp;
                                    <%#AddStrPrefixVisitingAbroad(ValidateDateTime(DataBinder.Eval(Container.DataItem,"ABVToTime","{0:yyyy-MM-dd}")),"preABVToTime")%>
                                    &nbsp;
                                    <%#AddStrPrefixVisitingAbroad(SetVenueLanguageVisitingAbroad(DecryptStringVisitingAbroad(DataBinder.Eval(Container.DataItem,"ABVenue"))),"preVenueCountry")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixVisitingAbroad(DecryptStringVisitingAbroad(DataBinder.Eval(Container.DataItem,"MainActivity")),"preMainActivity")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixVisitingAbroad(DecryptStringVisitingAbroad(DataBinder.Eval(Container.DataItem,"ASBAccompany")),"preASBAccompany")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                客户参加ASB相关培训信息
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptCustomerTrain" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBTraining(ValidateDateTime(DataBinder.Eval(Container.DataItem,"CustomerTrainTime","{0:yyyy-MM-dd}")),"preCustomerEventTime")%>
                                    &nbsp;
                                    <%#AddStrPrefixASBTraining(ValidateDateTime(DataBinder.Eval(Container.DataItem,"CustomerTrainToTime","{0:yyyy-MM-dd}")),"preCustomerEventToTime")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBTraining(GetTrainTypeASBTraining(DataBinder.Eval(Container.DataItem,"CustomerTrainTypeId")),"preCustomerTrainType")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBTraining(GetTrainSchoolASBTraining(DataBinder.Eval(Container.DataItem,"CustomerTrainId")),"preCustomerTrainSchool")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                参加ASB会议，活动信息
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptASBEvents" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBEvents(ValidateDateTime(DataBinder.Eval(Container.DataItem,"ASBEventTime","{0:yyyy-MM-dd}")),"preASBEventTime")%>
                                    &nbsp;
                                    <%#AddStrPrefixASBEvents(ValidateDateTime(DataBinder.Eval(Container.DataItem,"ASBEventToTime","{0:yyyy-MM-dd}")),"preASBEventToTime")%>
                                    &nbsp;
                                    <%#AddStrPrefixASBEvents(DecryptStringASBEvents(DataBinder.Eval(Container.DataItem,"ASBEventVenue")),"preASBEventVenue")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBEvents(DecryptStringASBEvents(DataBinder.Eval(Container.DataItem,"ASBEventName")),"preASBEventName")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBEvents(DecryptStringASBEvents(DataBinder.Eval(Container.DataItem,"ASBEventTopic")),"preASBEventTopic")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                ASB参与的客户活动，会议，或同客户共同举行的活动
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptCustomerEvent" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixEvents(ValidateDateTime(DataBinder.Eval(Container.DataItem,"CustomerEventTime","{0:yyyy-MM-dd}")),"preCustomerEventTime")%>
                                    &nbsp;
                                    <%#AddStrPrefixEvents(ValidateDateTime(DataBinder.Eval(Container.DataItem,"CustomerEventToTime","{0:yyyy-MM-dd}")),"preCustomerEventToTime")%>
                                    &nbsp;
                                    <%#AddStrPrefixEvents(DecryptStringEvents(DataBinder.Eval(Container.DataItem,"CustomerEventVenue")),"preCustomerEventVenue")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixEvents(DecryptStringEvents(DataBinder.Eval(Container.DataItem,"CustomerEventName")),"preCustomerEventName")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixEvents(DecryptStringEvents(DataBinder.Eval(Container.DataItem,"CustomerEventTopic")),"preCustomerEventTopic")%>
                                    <%#AddStrPrefixEvents(DecryptStringEvents(DataBinder.Eval(Container.DataItem,"CustomerEventGift")),"preCustomerEventGift")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                社会关系，ASB内可利用的资源
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptCustomerRelations" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixRelations(DecryptStringRelations(DataBinder.Eval(Container.DataItem,"Relations")),"preRelations")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                负责该客户的主要ASB员工
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptCustomerResponsibleStaff" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixResponsibleStaff(ValidateDateTime(DataBinder.Eval(Container.DataItem,"ResponsibleFromTime","{0:yyyy-MM-dd}")),"preResponsibleFromTime")%>
                                    &nbsp;
                                    <%#AddStrPrefixResponsibleStaff(ValidateDateTime(DataBinder.Eval(Container.DataItem,"ResponsibleToTime","{0:yyyy-MM-dd}")),"preResponsibleToTime")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixResponsibleStaff(DecryptStringResponsibleStaff(DataBinder.Eval(Container.DataItem,"StaffName")),"preStaffName")%>
                                    &nbsp;&nbsp;&nbsp;
                                    <%#AddStrPrefixResponsibleStaff(DecryptStringResponsibleStaff(DataBinder.Eval(Container.DataItem,"StaffTitle")),"preStaffTitle")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                ASB接待情况
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptASBReception" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBReception(ValidateDateTime(DataBinder.Eval(Container.DataItem,"ReceptionTime","{0:yyyy-MM-dd}")),"preReceptionTime")%>
                                    &nbsp;
                                    <%#AddStrPrefixASBReception(ValidateDateTime(DataBinder.Eval(Container.DataItem,"ReceptionToTime","{0:yyyy-MM-dd}")),"preReceptionToTime")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBReception(DecryptStringASBReception(DataBinder.Eval(Container.DataItem,"ReceptionHotel")),"preReceptionHotel")%>
                                    <%#AddStrPrefixASBReception(DecryptStringASBReception(DataBinder.Eval(Container.DataItem,"ReceptionRestaurant")),"preReceptionRestaurant")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixASBReception(DecryptStringASBReception(DataBinder.Eval(Container.DataItem,"ReceptionTour")),"preReceptionTour")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                同竞争对手会面
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptCustomerCompetitorMeeting" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixCompetitorMeeting(ValidateDateTime(DataBinder.Eval(Container.DataItem,"CVTime","{0:yyyy-MM-dd}")),"preCVTime")%>
                                    <%#AddStrPrefixCompetitorMeeting(DecryptStringCompetitorMeeting(DataBinder.Eval(Container.DataItem,"CVVenue")),"preCVVenue")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixCompetitorMeeting(DecryptStringCompetitorMeeting(DataBinder.Eval(Container.DataItem,"CCompanyName")),"preCCompanyName")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixCompetitorMeeting(DecryptStringCompetitorMeeting(DataBinder.Eval(Container.DataItem,"CVExecutives")),"preCVExecutives")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixCompetitorMeeting(DecryptStringCompetitorMeeting(DataBinder.Eval(Container.DataItem,"CVReasons")),"preCVReasons")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                参加竞争对手的会议，活动信息
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptCustomerCompetitorEvents" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixCompetitorEvents(ValidateDateTime(DataBinder.Eval(Container.DataItem,"CompetitorEventTime","{0:yyyy-MM-dd}")),"preCompetitorEventTime")%>
                                    &nbsp;
                                    <%#AddStrPrefixCompetitorEvents(ValidateDateTime(DataBinder.Eval(Container.DataItem,"CompetitorEventToTime","{0:yyyy-MM-dd}")),"preCompetitorEventToTime")%>
                                    <%#AddStrPrefixCompetitorEvents(DecryptStringCompetitorEvents(DataBinder.Eval(Container.DataItem,"CompetitorEventVenue")),"preCompetitorEventVenue")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixCompetitorEvents(DecryptStringCompetitorEvents(DataBinder.Eval(Container.DataItem,"CompetitorEventName")),"preCompetitorEventName")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixCompetitorEvents(DecryptStringCompetitorEvents(DataBinder.Eval(Container.DataItem,"CompetitorEventTopic")),"preCompetitorEventTopic")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                客户是否需要邮寄公司报刊
            </td>
        </tr>
        <tr>
            <td>
                <asp:ListBox ID="PaperLB" runat="server"></asp:ListBox>
            </td>
        </tr>
        <tr>
            <td>
                图片
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <asp:Repeater ID="rptImage" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#AddStrPrefixPic(ValidateDateTime(DataBinder.Eval(Container.DataItem,"ImageDate","{0:yyyy-MM-dd}")),"preImageDate")%>
                                    &nbsp;
                                    <%#AddStrPrefixPic(DecryptStringPic(DataBinder.Eval(Container.DataItem,"ImageVenue")),"preImageVenue")%>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%#AddStrPrefixPic(DecryptStringPic(DataBinder.Eval(Container.DataItem,"ImagePerson")),"preImagePerson")%>
                                    &nbsp;
                                    <%#AddStrPrefixPic(DecryptStringPic(DataBinder.Eval(Container.DataItem,"ImageReason")),"preImageReason")%>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Image ImageUrl='<%#"~/Customer/OtherCustomerPicDisplay.aspx?ImageId="+DataBinder.Eval(Container.DataItem, "ImageId")%>'
                                        runat="server" ID="Image2" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
